projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b96b8a
)
color swatch: Remove a stray frame
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 7 Jan 2016 18:24:32 +0000
(13:24 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 7 Jan 2016 19:08:26 +0000
(14:08 -0500)
When using a gadget, the border is free, no need to call
gtk_render_frame ourselves.
gtk/gtkcolorswatch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcolorswatch.c
b/gtk/gtkcolorswatch.c
index 72526bf51cb48e6d7eefe8ac8db9b08ac21fac99..4f31f6ebad76176be1799a0f0b88a92e68a623e7 100644
(file)
--- a/
gtk/gtkcolorswatch.c
+++ b/
gtk/gtkcolorswatch.c
@@
-154,8
+154,6
@@
gtk_color_swatch_render (GtkCssGadget *gadget,
cairo_fill (cr);
}
- gtk_render_frame (context, cr, x, y, width, height);
-
gtk_css_gadget_draw (swatch->priv->overlay_gadget, cr);
return gtk_widget_has_visible_focus (widget);